package com.ztgf.shopping.models.dto.epg;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 公告消息 
 * </p>
 *
 * @author YUE
 * @since 2020-05-20
 */
@Data
@ApiModel(value="公告消息 ", description="公告消息 ")
@TableName("epg_notice")
public class EpgNoticeDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "文本类型 0小喇叭，1文字、2图文")
    @TableField("text_type")
    private Integer textType;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "状态 0正常，1删除")
    private Integer status;
    @ApiModelProperty(value = "类型 0平台，1店铺")
    private Integer type;
    @ApiModelProperty(value = "是否发布 0未发布，1发布")
    @TableField("is_publish")
    private Integer isPublish;

}
